<template>
  <div class="mload">
      <div class="loading">
        <svg
          xmlns="http://www.w3.org/2000/svg"
          xmlns:xlink="http://www.w3.org/1999/xlink"
          width="30px"
          height="30px"
          viewBox="0 0 50 50"
          style="enable-background: new 0 0 50 50"
          xml:space="preserve"
        >
          <path
            fill="red"
            d="M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z"
            transform="rotate(275.098 25 25)"
          >
            <animateTransform
              attributeType="xml"
              attributeName="transform"
              type="rotate"
              from="0 25 25"
              to="360 25 25"
              dur="0.6s"
              repeatCount="indefinite"
            ></animateTransform>
          </path>
        </svg>
      </div>
    </div>
</template>

<script>
export default {

}
</script>

<style lang="less" scoped>
.mload {
    display: flex;
    justify-content: center;
    align-items:flex-start;
    width: 100vw;
    padding: 10px 0;
    background-color: #fff;
  }
  .loading {
    margin-top: 180px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    box-shadow: 0 0 10px 2px #ccc;
    background-color: #fff;
  }
</style>